package com.steel.yfmall.cloud.assistant.dto.zg;

import lombok.Data;

import java.io.Serializable;

/**
 * 中冠返回实体
 * @author YinHuaWei
 */
@Data
public class ZgResultBean<T> implements Serializable {

    private static final long serialVersionUID = 1L;

    private boolean ok;

    private T msg;

    private String isSuccess;

    private String orderNo;

    private String formId;

    private String draftOrderNo;

    public boolean isOk() {
        if ("Y".equals(isSuccess)) {
            return true;
        }
        return ok;
    }
}
